import {GET,POST,FILE,FILEPOST,PUT,GETNOBASE} from "../api";
const indexUrl=  {
    'leftTop':'/bigscreen/countDeviceNum',//左上
    'leftCenter':'/bigscreen/countUserNum',//左中
    "centerMap":"/bigscreen/centerMap",
    "centerBottom":"/bigscreen/installationPlan",

    'leftBottom':"/bigscreen/leftBottom", //坐下
    'rightTop':"/bigscreen/alarmNum", //报警次数
    'rightBottom':'/bigscreen/rightBottom',//右下 
    'rightCenter':'/bigscreen/ranking',// 报警排名
}

export default indexUrl

/**左上1 */
export const capitalCity=(param:any={})=>{
    return GET('/envir/screen/grid/coverage/capital_city',param)
}

/**左上2 */
export const bigCity=(param:any={})=>{
    return GET('/envir/screen/grid/coverage/big_city',param)
}

/**左中 */
export const aqiLevel=(param:any={})=>{
    return GET('/envir/screen/aqi/distribution/level',param)
}

/**左下 */
export const aqiOvershoot12Trend=(param:any={})=>{
    return GET('/envir/screen/aqi/overshoot/12/trend',param)
}

/**中上 */
export const aqiAllTotal=(param:any={})=>{
    return GET('/envir/screen/aqi/overshoot/all/total',param)
}
/**中下1 */
export const aqiTotal=(param:any={})=>{
    return GET('/envir/screen/aqi/total',param)
}

/**中下2 */
export const aqiTotalGood=(param:any={})=>{
    return GET('/envir/screen/aqi/total_good',param)
}

/**中下3 */
export const aqiTotalBad=(param:any={})=>{
    return GET('/envir/screen/aqi/total_bad',param)
}
/**右上 */
export const aqiPM25Total=(param:any={})=>{
    return GET('/envir/screen/aqi/overshoot/pm25/total',param)
}
/**右中 */
export const aqiSO2Total=(param:any={})=>{
    return GET('/envir/screen/aqi/overshoot/so2/total',param)
}
/**右下 */
export const aqiCOTotal=(param:any={})=>{
    return GET('/envir/screen/aqi/overshoot/co/total',param)
}

